//
//  weddingCaseGroupsLabelCell.m
//  Wedding fantastic
//
//  Created by dllo on 15/7/8.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "weddingCaseGroupsLabelCell.h"

#define kHeight [UIScreen mainScreen].bounds.size.height
#define kWidth [UIScreen mainScreen].bounds.size.width

@implementation weddingCaseGroupsLabelCell

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, (kWidth - 40 * kWidth / 375) / 3, 30 * kHeight / 667)];
        // 隐藏边框
        self.myLabel.layer.masksToBounds = YES;
        self.myLabel.layer.cornerRadius = 5;
        [self.contentView addSubview:self.myLabel];
        [self.myLabel release];
    }
    return self;
}
@end
